SftTree/OCX 7.0

Content Windows

Softel vdm, Inc.

Each cell can contain a child window. This child window becomes the content for the cell and is displayed in its place. Possible examples of such content windows are Flash controls, Windows Media Player, Web Browser controls, dialogs, etc. Almost any type of control or window can be used provided it can be represented by a window handle HWND. SftTree/OCX automatically resizes, hides and disables content windows as needed.

A cell receives a content window by assigning its window handle using the Cell.AttachContentWindow method.

Limitations: Tooltips are not shown for cells based on a content window and content windows will not be printed when SftTree/OCX is used with SftPrintPreview/OCX. Excessive use of content windows may exhaust available system resources.

The included ContentWindows sample demonstrates how various controls and dialogs can be embedded in the tree control.


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com